﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Domain.Entities.Auditing;
using JPW.OnlinePaperSubmissionSystem.Authorization.Users;

namespace JPW.OnlinePaperSubmissionSystem.Project
{
    [Table("Audits")]
    public class Audit : FullAuditedEntity<long>
    {
        [ForeignKey("UserId")]
        public virtual User User { get; set; }
        public virtual long? UserId { get; set; }

        public virtual string AuditContent { get; set; }
        [ForeignKey("AuditStatuId")]
        public virtual ManuscriptStatus AuditStatu { get; set; }
        public virtual long? AuditStatuId { get; set; }

        public virtual DateTime? AuditTime { get; set; }

    }
}
